<!-- setDest_pickEmails.html
-->
<div id="sending_newsletter_list">
    <div class="mailinglistsendingtable ">
        <p>Please search and then select {{label}} emails to add to your Destinees list</p>
        <p class="result_ok" style="display:none"></p>
        <div class='row-fluid'>
            <span class='span2'>
                <label >Search {{label}}:</label>
            </span>
            <span class='span10'>
                <span class="span12">
                    <input class='span12' type='text' value='' name='searchemail' placeholder="Search on {{labelsing}} {{placeholdercase}}">
                </span>
            </span>
        </div>

        <div class='row-fluid setDestPickEmTop'>

            <span class='span2 orimbbycoutnlab'>
                <label >By Country:</label>
            </span>
            <span class='span4 orimbbycoutnsel'>
                <span class="span12">
                    <select data-fieldtype="categsel" data-label="Country" category="cat15_countries" data-loaded="false" class="input-largemedium  do_sea_sel" id="idsearch_parent_country" name="parent_country">
                        <option>Click to load options...</option>
                    </select>
                </span>
            </span>
            <span class='span2'>
                <label >Assigned to me:</label>
            </span>
            <span class='span3'>
                <span class="span12">
                    <span class="apm-radiocont">
                        <input class="apm-radio" name="assigntomeselem" value="0"  type="radio">
                        <span class="apm-radiovalue">Yes </span>
                    </span>
                    <span class="apm-radiocont">
                        <input class="apm-radio" name="assigntomeselem" value="1"  type="radio">
                        <span class="apm-radiovalue">No</span>
                    </span>
                </span>
            </span>

            <span class="span1  pull-right">
                <span class="btn btn-mini btn-info hasTooltip pull-right" data-placement="left" title='Search {{label}}'>
                    <i class="icon-search icon-white"></i>
                </span>
            </span>
        </div>

        <span style="color:red; background:yellow">INFO FOR DEV: case with no result on start</span>
        <table class="table table-striped table-bordered table-hover table-condensed" width="100%">
            <thead>
                <tr>
                    <th width="10%"><input name="parent_obj_statusrow"  type="checkbox"> Sel</th>
                    <th width="25%">Name</th>
                    <th width="15%">Type</th>
                    <th width="25%">Email</th>
                </tr>
            </thead>
            <tbody class="apm_sendlisttablebody" data-nb_cols="5">
                <tr data-row_id="55" class="rowid_55">
                    <td colspan="4">No {{label}} yet. Please do a Search.</td>
                </tr>
            </tbody>
        </table>
        <span style="color:red; background:yellow">INFO FOR DEV: case when loading</span>
        <table class="table table-striped table-bordered table-hover table-condensed" width="100%">
            <thead>
                <tr>
                    <th width="10%"><input name="parent_obj_statusrow"  type="checkbox"> Sel</th>
                    <th width="25%">Name</th>
                    <th width="15%">Type</th>
                    <th width="25%">Email</th>
                </tr>
            </thead>
            <tbody class="apm_sendlisttablebody" data-nb_cols="5">
                <tr data-row_id="55" class="rowid_55">
                    <td colspan="4"><span class="label label-info" style="font-weight: normal!important;">Loading, please wait...</span></td>
                </tr>
            </tbody>
        </table>
        <span style="color:red; background:yellow">INFO FOR DEV: case when we have results</span>
        <table class="table table-striped table-bordered table-hover table-condensed" width="100%">
            <thead>
                <tr>
                    <th width="10%"><input name="parent_obj_statusrow" checked="" type="checkbox"> Sel</th>
                    <th width="25%">Name</th>
                    <th width="15%">Type</th>
                    <th width="25%">Email</th>
                </tr>
            </thead>
            <tbody class="apm_sendlisttablebody" data-nb_cols="5">
                <tr data-row_id="55" class="rowid_55">
                    <td><input name="obj_statusrow" value="55" type="checkbox"></td>
                    <td>dadfgdfh</td>
                    <td>{{labelsing}}</td>
                    <td>dsfdg@ee.hhh</td>
                </tr>
                <tr data-row_id="35" class="rowid_35">
                    <td><input name="obj_statusrow" value="35" checked="" type="checkbox"></td>
                    <td>cobntact</td>
                    <td>{{labelsing}}</td>
                    <td>dsfdg@ee.hhh</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>